﻿#include "WRWorkObjectWrapper.h"

//初始化工作对象包装。
WRWorkObjectWrapper::WRWorkObjectWrapper(WRWorkObject* target)
{
    m_target = target;
    m_target->addRef();
}
//清理当前对象所占用的相关资源。
WRWorkObjectWrapper::~WRWorkObjectWrapper(void)
{
    m_target->release();
}
